Skip to main content

TsgCADHatch

Unit: DXFConv

Description

The TsgCADHatch class defines the HATCH entity for the CAD files.

Syntax

TsgCADHatch = class(TsgCADCurvePolygon)

Properties

PropertiesDescription
FillStyleThe property gets or sets a fill style for the HATCH object.
HatchPatternDataThe property returns a list of the TsgHatchPatternData class elements.
HatchStyleThe property gets or sets a hatch style.
LinesThe property returns the TsgLines class object.
LineTypeThe property gets or sets a pattern line type.
ParsedLinesThe property gets a list of hatch lines according to borders.
PatternAngleThe property gets or sets an angle of pattern lines (pattern fill only).
PatternScaleThe property gets or sets a pattern scale or spacing (pattern fill only).
Derived from TsgCADCurvePolygonDescription
BoundaryDataThe property gets a boundary path by its index.
ElevationThe property gets or sets extrusion direction of the TsgCADCurvePolygon class object.
ExtrusionThe property gets or sets a color for filling of polygon.
Derived from TsgCADGradientPolygonDescription
GradientAngleThe property gets or sets an angle of the gradient fill.
GradientColorThe property gets a color for the gradient fill.
GradientColorCADthe property gets or sets a CAD color for the gradient fill.
GradientNameThe property gets or sets a type of the gradient fill by its name.
GradientUseCenterThe property gets or sets a value indicating whether the gradient fill is symmetrical relative to the center.
Derived from TsgCADPolyPolygonDescription
BoundariesThe property returns list of boundaries.
Derived from TsgDXFEntityDescription
BoxThe property determines the 3d box embraced the entity.
ColorThe property gets or sets entity color.
ColorCADThe property gets or sets a color for drawing entities.
ComplexThe property determines whether a entity is populated with child entities.
ConverterThe property returns the TsgDXFConverter class object.
CountThe property indicates the total number of child entities.
EntitiesThe property lists all child entities.
EntTypeThe property indicates type of an entity.
HandleThe property is used for finding entity links.
LayerThe property points to layer, containing given primitive if this layer is given.
LineTypeThe property sets and gets line type for an entity.
LineTypeScaleThe property sets and gets the Linetype scale.
LineWeightThe property sets or gets line weight in millimeters.
PaperSpaceThe property indicates Model Space and Paper Space entity segregation.
SrcEndThe property indicates end position of the entity description in the source CAD file.
SrcStartThe property indicates start position of the entity description in the source CAD file.
VisibilityThe property sets and gets entities visibility.
VisibleThe property determines whether the component appears onscreen.

Methods

MethodsDescription
AssignEntityThe method copies properties of source entity to the TsgCADHatch class object.
CreateCreates an instance of the TsgCADHatch object.
DestroyFrees up all internal objects before destroying this object.
GetThicknessThe method assigns the pattern data of a specified HATCH object to the TsgCADHatch.
Derived from TsgCADCurvePolygonDescription
GetBoxPoints
Derived from TsgDXFEntityDescription
AddEntityThe method adds a new child entity.
CloneThe method copies properties of source entity to current entity (include Handle).
DrawThe method generates the OnDraw event.
EntNameThe method returns an entity name.
SetLTypeThe method sets line type of the entity.
SetLWeightThe method sets line weight width of the entity.

Events

Derived from TsgDXFEntityDescription
OnDrawThe event occurs when the Draw method is called.